<?php
   class User
   {
   	private $id;
	private $username;
	private $password;
	private $pwdsalt;
	private $email;
	private $actkey;
	private $packageid;
	private $datereg;
	private $expdate;
	private $rank;
	
	function User( $username, $password, $pwdsalt, $email, $actKey, $packageId, $dateReg, $expDate, $rank)
	{
		$this->username = $username;
		$this->password = $password;
		$this->pwdsalt = $pwdsalt;
		$this->email = $email;
		$this->actkey = $actKey;
		$this->packageid = $packageId;
		$this->datereg = $dateReg;
		$this->expdate = $expDate;
		$this->rank = $rank;
	}
	
	function get_id()
	{
		return $this->id;
	}
	function get_username()
	{
		return $this->username;
	}
	function get_password()
	{
		return $this->password;
	}
	function get_pwdsalt()
	{
		return $this->pwdsalt;
	}
	function get_email()
	{
		return $this->email;
	}
	function get_actkey()
	{
		return $this->actkey;
	}
	function get_packageid()
	{
		return $this->packageid;
	}
	function get_datereg()
	{
		return $this->datereg;
	}
	function get_expdate()
	{
		return $this->expdate;
	}
	function get_rank()
	{
		return $this->rank;
	}
		
   }
?>
